FBMASK
Section: User Commands (1)
Updated: 25-Jun-90
Index
Return to Main Contents
NAME
fbmask - mask a rectangle in a grayscale file
SYNOPSIS
fbmask [ -<type> ] x0 y0 x1 y1 value < 8bit > 8bit
DESCRIPTION
Paints the specified gray value
val
in a rectangle starting at
x
and
y
with the given
width
and
height.
EXAMPLE
To put a 50 pixel wide black border around a 640 by 480 pixel grayscale
image, you could use the following pipeline (which outputs a Sun
rasterfile):
% fbmask 0 0 50 480 0 < foo.8bit |
fbmask 0 0 640 50 0 < foo.8bit |
fbmask 0 430 640 480 0 < foo.8bit |
fbmask 590 0 640 480 0 < foo.8bit > bar.8bit
SEE ALSO
fbm(1) for general discussion, pbm(1) for PBM routines.
BUGS
None known.
HISTORY
Copyright (C) 1989,1990 by Michael Mauldin. Permission is granted
to use this file in whole or in part for any purpose, educational,
recreational or commercial, provided that this copyright notice
is retained unchanged. This software is available to all free of
charge by anonymous FTP and in the UUNET archives.
- 25-Jun-90 Michael Mauldin at Carnegie Mellon University
-
Release 1.0 mlm@cs.cmu.edu
- 07-Mar-89 Michael L. Mauldin at Carnegie Mellon University
-
Beta release (version 0.9) mlm@cs.cmu.edu
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- EXAMPLE
-
- SEE ALSO
-
- BUGS
-
- HISTORY
-
This document was created by
man2html,
using the manual pages.
Time: 13:25:57 GMT, October 17, 2022